package com.ruoyi.club.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户兴趣性格扩展对象 club_user_profile
 * 
 * @author Zou
 * @date 2025-11-14
 */
public class ClubUserProfile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 关联sys_user.id */
    @Excel(name = "关联sys_user.id")
    private Long userId;

    /** 性格标签（逗号分隔） */
    @Excel(name = "性格标签", readConverterExp = "逗=号分隔")
    private String personality;

    /** 兴趣爱好（逗号分隔） */
    @Excel(name = "兴趣爱好", readConverterExp = "逗=号分隔")
    private String hobbies;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setPersonality(String personality) 
    {
        this.personality = personality;
    }

    public String getPersonality() 
    {
        return personality;
    }

    public void setHobbies(String hobbies) 
    {
        this.hobbies = hobbies;
    }

    public String getHobbies() 
    {
        return hobbies;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("personality", getPersonality())
            .append("hobbies", getHobbies())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
